www.gusucode.com > Piwik 网站流量统计系统 v2.9.1PHP源码程序 > Piwik 网站流量统计系统 v2.9.1/How to install Piwik.html/piwik/vendor/piwik/decompress/src/DecompressInterface.php
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL v3 or later */ namespace Piwik\Decompress; /** * Interface of a class that can decompress files. */ interface DecompressInterface { /** * Constructor * * @param string $filename Name of the archive */ public function __construct($filename); /** * Extract files from the archive to the target directory * * @param string $pathExtracted Absolute path of target directory * * @return mixed Array of file names if successful; or 0 if an error occurred */ public function extract($pathExtracted); /** * Get error description for the latest error * * @return string */ public function errorInfo(); }